package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.AccessType;

import java.util.List;

/**
 * 艺人与项目关系对象 sys_artist_project
 * 
 * @author cooc
 * @date 2024-06-19
 */


public class SysArtistProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 艺人与项目关系主键 */
    private Long id;

    /** 艺人ID */
    private Long artistId;

    /** 项目ID */
    private Long projectId;

    /** 项目填写字段内容 */
    @Excel(name = "项目填写字段内容")
    private String projectInfo;

    /** 是否通过 */
    private int passStatus = -1;

    /** 艺人该项目评分 */
    private String projectScore;

    private double projectScoreTotal = -1D;

    /** 艺人该项目的评论 */
    private String projectComment;

    //扩展关联信息


    /** 艺人信息 */
    private SysArtist sysArtistInfo;

    private String projectName;






    public SysArtistProject() {
    }

    public SysArtistProject(Long projectId, String projectInfo) {
        this.projectId = projectId;
        this.projectInfo = projectInfo;
    }

    public SysArtistProject(Long artistId, Long projectId) {
        this.artistId = artistId;
        this.projectId = projectId;
    }


    public SysArtistProject(Long artistId, Long projectId, String projectInfo) {
        this.artistId = artistId;
        this.projectId = projectId;
        this.projectInfo = projectInfo;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArtistId(Long artistId) 
    {
        this.artistId = artistId;
    }

    public Long getArtistId() 
    {
        return artistId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setProjectInfo(String projectInfo) 
    {
        this.projectInfo = projectInfo;
    }

    public String getProjectInfo() 
    {
        return projectInfo;
    }

    public int getPassStatus() {
        return passStatus;
    }

    public void setPassStatus(int passStatus) {
        this.passStatus = passStatus;
    }

    public String getProjectScore() {
        return projectScore;
    }

    public void setProjectScore(String projectScore) {
        this.projectScore = projectScore;
    }

    public String getProjectComment() {
        return projectComment;
    }

    public void setProjectComment(String projectComment) {
        this.projectComment = projectComment;
    }

    public SysArtist getSysArtistInfo() {
        return sysArtistInfo;
    }

    public void setSysArtistInfo(SysArtist sysArtistInfo) {
        this.sysArtistInfo = sysArtistInfo;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public double getProjectScoreTotal() {
        return projectScoreTotal;
    }

    public void setProjectScoreTotal(double projectScoreTotal) {
        this.projectScoreTotal = projectScoreTotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("artistId", getArtistId())
            .append("projectId", getProjectId())
            .append("projectInfo", getProjectInfo())
            .toString();
    }
}
